#ifndef CCLIENTREQUESTORDER_H
#define CCLIENTREQUESTORDER_H

#include "inetworking.h"

class CClientRequestOrder : public INetWorking
{
public:
    CClientRequestOrder(QObject *parent = 0);
    ~CClientRequestOrder();

public:
    virtual void prepareWriteData(QByteArray* block, void* param);
    virtual bool prepareReadData(QTcpSocket *pTcpSocket, protocal::BasePtc *basePtc);
    virtual void formResult();

private:
    //out
    char  userID[10];
    char  carID[10];

    //in
    int      isSuccess;
    QString  order_id;
    QString  driver_name;
    QString  mobile_numb;
};

#endif // CCLIENTREQUESTORDER_H
